import { getInfo, setInfo } from '@/utlis/storage'
export default {
  namespaced: true,
  state () {
    return {
      userInfo: getInfo()
    }
  },
  getters: {

  },
  mutations: {
    setUserInfo (state, obj) {
      state.mobile = obj.mobile
      state.online = obj.online
      setInfo(obj)
    }
  },
  actions: {
  },
  modules: {
  }
}
